package com.icedevcloud.upms.controller.admin.dict.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * <p>
 *  添加字典ReqDto
 * </p>
 *
 * @author dengbing
 * @since 2023-08-26
 */
@Schema(name = "添加字典ReqDto")
@Data
public class AddDictReqDto {

    @NotNull(message = "父ID不能为空")
    @Schema(description = "父ID")
    private Long pid;

    @Schema(description = "字典名称")
    private String dictName;

    @Schema(description = "字典类型")
    private String dictType;

    @Schema(description = "字典编码")
    private String dictCode;

    @Schema(description = "字典值")
    private String dictValue;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "状态 1-启用 0-禁用")
    private Integer status;

    @Schema(description = "备注")
    private String remark;

}
